PIDS=`ps -ef |grep /data/smartVidio/ | grep -v grep | awk '{print $2}'`
if [ "$PIDS" != "" ]; then kill -9 $PIDS; fi

nohup python manage.py runserver 0.0.0.0:8000 > log/stat.log 2&>1 &

python manage.py runsslserver --certificate mobilescan.cn.crt --key ./nginx/2_mobilescan.cn.key
https://blog.csdn.net/hzw6991/article/details/103800677